﻿using B.S.BataBase.Domain;
using Microsoft.EntityFrameworkCore;

namespace B.S.BaseData.Infrastructure
{
    public class BaseDbContext : DbContext
    {
        public BaseDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<UserModel> UserModel { get; set; }
        public DbSet<RoleModel> RoleModel { get; set; }
        public DbSet<UserRoleModel> UserRoleModel { get; set; }
        public DbSet<PermissionsModel> PermissionModel { get; set; }
        public DbSet<RolePermissionsModel> RolePermissionsModel { get; set; }
    }
}
